Manager Protocols
-
See moreVOAuthClient
is passed into theVOUserManager
to manage registration and automatic token refreshing. A class must implementVOAuthClient
and be passed into theVOUserManager
login call.Declaration
Objective-C
@protocol VOAuthClient <NSObject>
Swift
protocol VOAuthClient : NSObjectProtocol
-
Objects that conform to the
See moreVOCachProtocol
will be responsible for saving objects in temporal storage.Declaration
Objective-C
@protocol VOCacheProtocol
Swift
protocol VOCacheProtocol
-
See moreVOGameManagerProtocol
is the interface for all game related network requests. SeeVOGameManager
for the default implementation of the interface.Declaration
Objective-C
@protocol VOGameManagerProtocol <NSObject>
Swift
protocol VOGameManagerProtocol : NSObjectProtocol
-
See moreVOVoucherManagerProtocol
is the protocol for theVOVoucherManager
. This protocol is responsible for all network and caching methods for aVOVoucher
(Gift).Declaration
Objective-C
@protocol VOVoucherManagerProtocol
Swift
protocol VOVoucherManagerProtocol
-
Objects that conform to this interface are responsible for retrieving
See moreVOMerchant
s from the Vouchr Server.Declaration
Objective-C
@protocol VOMerchantManagerProtocol <NSObject>
Swift
protocol VOMerchantManagerProtocol : NSObjectProtocol
-
VONetworkManagerProtocol
is the interface for Vouchr’sVONetworkManager
. TheVONetworkManager
is responsible for all client -> server communication with the Vouchr Server.To replace the
See moreVONetworkManager
, implement this protocol with the replacementVONetworkManager
.Declaration
Objective-C
@protocol VONetworkManagerProtocol
Swift
protocol VONetworkManagerProtocol
-
See moreVOPersistManagerProtocol
is the interface for saving information indefinitely.Declaration
Objective-C
@protocol VOPersistManagerProtocol
Swift
protocol VOPersistManagerProtocol
-
See moreVOAnalyticsManagerProtocol
is the interface for tracking analytics. Analytic events will be triggered to a manager implementing this interface.Declaration
Objective-C
@protocol VOAnalyticsManagerProtocol
Swift
protocol VOAnalyticsManagerProtocol
-
See moreVOUserManagerProtocol
is an interface for allVOUser
related network calls. If not using the defaultVOUserManager
, the replacement must adhere to this protocol.Declaration
Objective-C
@protocol VOUserManagerProtocol
Swift
protocol VOUserManagerProtocol
-
See moreVOWrappingPaperManagerProtocol
is the interface for retrievingVOWrappingPaperMedia
s from the Vouchr Server.Declaration
Objective-C
@protocol VOWrappingPaperManagerProtocol
Swift
protocol VOWrappingPaperManagerProtocol
-
See moreVOYoutubeManagerProtocol
is the interface responsible for getting Youtube Videos.Declaration
Objective-C
@protocol VOYoutubeManagerProtocol
Swift
protocol VOYoutubeManagerProtocol